import { request } from '@/utils'

export default {
  login1: (data) => request.post('/auth/login', data, { noNeedToken: true }),
  login2: (data) => request.post('http://localhost:8088/api/auth/login', data, { noNeedToken: true }),
  login: (data) => request.post('http://localhost:8088/api/auth/login', data, { noNeedToken: true }),
  // 自定义请求
  logout: () => request.post('/api/xxxx'),
}
